package com.wgz.flag.service;

import com.wgz.flag.entity.PrivateMessage;

import java.util.List;

public interface PrivateMessageService {
    List<PrivateMessage> getHistoryMessages(Long userId, Long friendId);

    void sendMessage(PrivateMessage message);

    void markAsRead(Long userId, Long friendId);
}